package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.pojo.Newsdetail;

import java.util.List;

public interface NewsdetailService {
    List<Newsdetail> selectNewsdetailAll();

    //根据id查询单条信息
    Newsdetail selectNewsdetailById(Integer id);



    //带条件的分页查询
    PageInfo<Newsdetail> selectNewsdetailByCondition(String title,Integer pageNo,Integer pageSize);


    //根据id删除订单
    boolean deleteNewsdetail(Integer id);


}
